<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false" %>
<%@ include file="/views/common/resources.jsp" %>  
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>      
<!DOCTYPE html>
<html>
<head>
 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <link href="<%=basePath %>resources/js/common/plugin/My97DatePicker/skin/WdatePicker.css" rel="stylesheet">
    <link href="<%=basePath %>resources/css/report.css" rel="stylesheet">
    <script src="<%=basePath %>resources/js/common/plugin/My97DatePicker/WdatePicker.js"></script>
<title>平台报警</title>
<style>
	#inputStartDate,#inputEndDate{
		margin-left:0;
	}
	#queryBtn{
		margin-right:20px;
	}
</style>
</head>
<script type="text/javascript">
var appCtx="<%=basePath%>";
var flag ='${flag}';
</script>
<body class="driving">
<div class="page">
	<div class="slider pa clearfix">
        <%@ include file="/views/common/menu.jsp" %> 
    </div>
    <div class="main ">
        <%@ include file="/views/common/top.jsp" %>
        <div class="content pr" style="margin-top:-45px;clear:both;">
           	<div class="querys fl clearfix" style="margin-left: 0px;width: 100%;margin-top:10px">
				<div class="clearfix pr">
					<ul class="clearfix fl">
						<!-- <li class="fl clearfix mt10" style='margin-right:15px'>
							<select class="userInput fl" id="queryPlatformSel" style="display:none;"></select> 
							<select class="userInput fl" id="queryEnterpriseSel" style="display:none;"></select> 
							<select class="userInput fl" id="queryVehicleSel" style="display:none;"></select> 
						</li> -->
						<li class="fl clearfix mt10" style='margin-right:15px'>
							<select class="userInput fl" id="alarmType">	</select> 
						</li>
						<li class="fl clearfix mt10" >
							<input type="text" id="inputStartDate" style="height: 24px;" class="userInput fl Wdate Time_input" 
							onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'inputEndDate\')}'})">
						</li>
						<li class="fl clearfix mt10">
							<label style="width: 30px; height: 26px;line-height: 24px;text-align:center">至</label>
						</li>
						<li class="fl clearfix mt10" >
							<input type="text" id="inputEndDate" style="height: 24px;" class="userInput fl Wdate Time_input" 
							onclick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'inputStartDate\')}'})">
						</li>
						<li class="fl clearfix mt10">
							<a class="userBtn" href="javascript:;" id="queryBtn" style="top:20px;margin-left:80px;right: 200px;">查询</a>
						</li>
						<li class="fl clearfix mt10">
							<a class="userBtn" href="javascript:;" id="exportExcel" style="top:20px;right:200px;margin-left:0;">导出</a>
						</li>
					</ul>
				</div>
			</div>
			
			<div class="title-name clearfix" style="padding-left: 0px;float: left;display: block;margin-bottom: 10px;margin-top: 5px;"><p>监管平台分析报警明细</p></div>
            <div class="chart row-fluid top_style">
            
            
                <div class="detail-report" style="margin-top:20px;">
	                <table class="table" id="objTable"></table>
           		</div>
            </div>
        </div>
    </div>
</div>
<%--导出数据弹窗--%>
<div id="exportModal" class="modal hide fade" data-backdrop="static" style="left: 51%; width:600px;top: 52%;  margin-top: -89.5px;" aria-hidden="false" tabindex="-1" data-backdrop="static">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
		<h4 id="exportTitle">导出平台报警</h4>
	</div>
	<div class="modal-body" style="font-size: 13px;vertical-align: middle; text-align: center;">
		<span>页数:</span>
		<input class="input-medium" id="StartPageIndex" type="number" value="1"><span>&nbsp;到&nbsp;</span>
		<input class="input-medium" id="EndPageIndex" type="number">
	</div>
	<div class="modal-footer">
	     <button class="btn " data-dismiss="modal" aria-hidden="true">关闭</button>
	     <button class="btn btn-ecColor" id="confirmExport" name="confirmExport">导出</button> 
    </div>
</div>
<script src="<%=basePath %>resources/js/common/main/global.js"></script>
<script src="<%=basePath %>resources/js/common/main/nav.js"></script>
<script src="<%=basePath %>resources/js/common/util/common.js"></script>
<script src="<%=basePath %>resources/js/business/report/platAlarm.js"></script>
</body>
</html>